using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

using wnet.admin.Models;

namespace ZR.Model.Dto
{
    /// <summary>
    /// 網站欄目查询对象
    /// </summary>
    public class AMenubarQueryDto : PagerInfo
    {
    }


    public class AMenubarVo
    {
        public string path { get; set; }

        public List<AMenubarVo> children { get; set; }

        public string name { get; set; }
        public int Id { get; set; }
        public int? Pid { get; set; }
        public string Titlezh { get; set; }

        // [ExcelColumn(Name = "标题（繁体）")]
        // [ExcelColumnName("标题（繁体）")]
        public string Titletc { get; set; }

        // [ExcelColumn(Name = "标题（葡语）")]
        // [ExcelColumnName("标题（葡语）")]
        public string Titlept { get; set; }

        // [ExcelColumn(Name = "标题（英文）")]
        // [ExcelColumnName("标题（英文）")]
        public string Titleen { get; set; }

        /// <summary>
        /// 唯一编号
        /// </summary>
        public string Guidno { get; set; }


    }


    /// <summary>
    /// 網站欄目输入输出对象
    /// </summary>
    public class AMenubarDto
    {
        [Required(ErrorMessage = "id不能为空")]
        // [ExcelColumn(Name = "id")]
        // [ExcelColumnName("id")]
        public int Id { get; set; }

        // [ExcelColumn(Name = "创建人编码")]
        // [ExcelColumnName("创建人编码")]
        public string CreateBy { get; set; }

        // [ExcelColumn(Name = "创建时间", Format = "yyyy-MM-dd HH:mm:ss")]
        // [ExcelColumnName("创建时间")]
        public DateTime CreateTime { get; set; }

        // [ExcelColumn(Name = "更新人编码")]
        // [ExcelColumnName("更新人编码")]
        public string UpdateBy { get; set; }

        // [ExcelColumn(Name = "最后更新时间", Format = "yyyy-MM-dd HH:mm:ss")]
        // [ExcelColumnName("最后更新时间")]
        public DateTime UpdateTime { get; set; }

        // [ExcelColumn(Name = "备注")]
        // [ExcelColumnName("备注")]
        public string Remark { get; set; }

        // [ExcelColumn(Name = "状态")]
        // [ExcelColumnName("状态")]
        public int? Status { get; set; }

        // [ExcelColumn(Name = "标题（简体）")]
        // [ExcelColumnName("标题（简体）")]
        public string Titlezh { get; set; }

        // [ExcelColumn(Name = "标题（繁体）")]
        // [ExcelColumnName("标题（繁体）")]
        public string Titletc { get; set; }

        // [ExcelColumn(Name = "标题（葡语）")]
        // [ExcelColumnName("标题（葡语）")]
        public string Titlept { get; set; }

        // [ExcelColumn(Name = "标题（英文）")]
        // [ExcelColumnName("标题（英文）")]
        public string Titleen { get; set; }

        // [ExcelIgnore]
        public string Guidno { get; set; }

        // [ExcelColumn(Name = "排序【降序】")]
        // [ExcelColumnName("排序【降序】")]
        public int? Sorder { get; set; }

        // [ExcelColumn(Name = "所属")]
        // [ExcelColumnName("所属")]
        public int? Pid { get; set; }



    }
}